package com.huibei.wateradmin.authority.exception;


import com.huibei.wateradmin.authority.util.Err;

/**
 * Created by wanglinlin on 2016/7/16.
 */
public class ToClientException extends RuntimeException {
    public ToClientException(String errorMsg) {
        super(errorMsg);
    }
    public ToClientException(Err err) {
        super(err.getContent());
    }

    public ToClientException(Err err, String errMsg) {
        super(err.getContent()+":"+errMsg);
    }

}
